package pl.com.sthaether.mc.main.toolbar;

import javafx.scene.layout.VBox;
import pl.com.sthaether.mc.components.treetable.filterable.MCFilterableTreeTable;


public class MCToolbar extends VBox {

private  MCFilterableTreeTable table;

    private MCToolbar() {
        init();
    }

    private static class MCHolder{
        private static final MCToolbar INSTANCE = new MCToolbar();
    }

    public MCFilterableTreeTable getTable() {
        return table;
    }

    private void init() {



        table = new MCFilterableTreeTable();


        this.getChildren().addAll(table);//MCToolHolder.getInstance(),

        setWidth(200);
    }

    public static MCToolbar getInstance() {
        return MCHolder.INSTANCE;
    }


}
